using System;
using System.Collections.Generic;
using System.Text;
using GameFramework;

namespace Projet_X0
{
    public class Orientation : State
    {
        private float direction;
        

        public Orientation(float direction)
            : base((int)StatesID.Orientation)
        {
            this.direction = direction;
        }

        public void Set(float orientation)
        {
            direction = orientation;
        }

        public float Get()
        {
            return direction;
        }

        public override void Terminate()
        {
            
        }

    }
}
